package cn.iocoder.yudao.module.wms.controller.admin.pomain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.iocoder.yudao.module.wms.dal.dataobject.pomain.PomainsDO;

@Schema(description = "管理后台 - 采购订单主新增/修改 Request VO")
@Data
public class PomainSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3957")
    private Integer id;

    @Schema(description = "流水号")
    private String code;

    @Schema(description = "业务员编码")
    private Integer cpersonId;

    @Schema(description = "部门编码")
    private Integer cdepId;

    @Schema(description = "供应商编码")
    private Integer cvenId;

    @Schema(description = "订单日期")
    private LocalDateTime ddate;

    @Schema(description = "备注", example = "你猜")
    private String cmemo;

    @Schema(description = "审核时间")
    private LocalDateTime checkTime;

    @Schema(description = "审核人")
    private Long checkBy;

    @Schema(description = " ACT_HI_PROCINST 表的 PROC_INST_ID_ 字段")
    private String processInstanceId;
    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "采购订单子列表")
    private List<PomainsDO> pomainss;


    /**
     * 采购总数量
     */
    @Schema(description = "采购总数量")
    private Double sum;

    /**
     * 入库数量
     */
    @Schema(description = "入库数量")
    private Double rkSum;



}